umask [octalmask]
Sets the file-creation mode mask to the octal value of octalmask. If octalmask is omitted, the current mask is returned.